package com.freewater.springboot.demo.aop.example;

import java.lang.annotation.*;

/**
 * 标记Service方法为幂等，只有幂等的Service方法才能静默重试
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Idempotent {
}
